package com.zkjl.protect_business.entity;

import com.zkjl.protect_business.entity.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

@Data
@ApiModel(description = "存档实体")
@Document(indexName = "pb_archives", shards = 1, replicas = 0)
public class Archive extends BaseEntity {

    @Id
    @ApiModelProperty(notes = "id")
    private String id;

    @ApiModelProperty(notes = "存档名称 用这个作为")
    private String name;

    @ApiModelProperty(notes = "存档索引名称")
    private String indexName;

    @ApiModelProperty(notes = "关联业务id")
    private String businessId;

    @ApiModelProperty(notes = "关联业务名称")
    private String businessName;


}
